package io.dy.pool;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.stream.IntStream;
/**
 * @author dmj
 * @date 2024年04月17日 下午6:19
 */
public class Main {
    public static void main(String[] args) {
        ThreadPoolExecutor executor = CustomThreadPoolExecutor.getInstance();
        IntStream.range(1,100).forEach(obj-> executor.execute(()-> {}));

    }
}
